From: Tamas K Lengyel Date: Thu, 9 Apr 2015 14:32:49 +0000 (+0200) Subject: xen/vm_event: Deprecate VM_EVENT_FLAG_DUMMY flag X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3412 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=341f354cbb95c64c08f8ba181350195e00a94649;p=xen.git xen/vm_event: Deprecate VM_EVENT_FLAG_DUMMY flag There are no use-cases for this flag. Signed-off-by: Tamas K Lengyel Acked-by: Tim Deegan --- diff --git a/xen/arch/x86/mm/mem_sharing.c b/xen/arch/x86/mm/mem_sharing.c index 4e5477a237..e6572af660 100644 --- a/xen/arch/x86/mm/mem_sharing.c +++ b/xen/arch/x86/mm/mem_sharing.c @@ -606,9 +606,6 @@ int mem_sharing_sharing_resume(struct domain *d) continue; } - if ( rsp.flags & VM_EVENT_FLAG_DUMMY ) - continue; - /* Validate the vcpu_id in the response. */ if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] ) continue; diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c index 1d3356adb6..4032c622b0 100644 --- a/xen/arch/x86/mm/p2m.c +++ b/xen/arch/x86/mm/p2m.c @@ -1312,9 +1312,6 @@ void p2m_mem_paging_resume(struct domain *d) continue; } - if ( rsp.flags & VM_EVENT_FLAG_DUMMY ) - continue; - /* Validate the vcpu_id in the response. */ if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] ) continue; diff --git a/xen/common/mem_access.c b/xen/common/mem_access.c index f925ac7be5..7ed8a4ef92 100644 --- a/xen/common/mem_access.c +++ b/xen/common/mem_access.c @@ -44,9 +44,6 @@ void mem_access_resume(struct domain *d) continue; } - if ( rsp.flags & VM_EVENT_FLAG_DUMMY ) - continue; - /* Validate the vcpu_id in the response. */ if ( (rsp.vcpu_id >= d->max_vcpus) || !d->vcpu[rsp.vcpu_id] ) continue; diff --git a/xen/include/public/vm_event.h b/xen/include/public/vm_event.h index ed9105bd75..c7426de0e1 100644 --- a/xen/include/public/vm_event.h +++ b/xen/include/public/vm_event.h @@ -47,7 +47,6 @@ #define VM_EVENT_FLAG_VCPU_PAUSED (1 << 0) /* Flags to aid debugging mem_event */ #define VM_EVENT_FLAG_FOREIGN (1 << 1) -#define VM_EVENT_FLAG_DUMMY (1 << 2) /* * Reasons for the vm event request